package com.cloud.crashdemo.utils

import android.Manifest

/**
 * @auth: njb
 * @date: 2024/11/26 22:40
 * @desc: 描述
 */
object Constants {
    const val REQUEST_CODE_PERMISSIONS = 101
    const val REQUEST_CODE_CAMERA = 102
    const val REQUEST_CODE_CROP = 103
    const val REQUEST_CODE_AUDIO = 104

    const val DATE_FORMAT = "yyyy-MM-dd HH.mm.ss"
    const val PHOTO_EXTENSION = ".jpg"

    val REQUIRED_PERMISSIONS = arrayOf(
        Manifest.permission.CAMERA,
        Manifest.permission.WRITE_EXTERNAL_STORAGE,
        Manifest.permission.READ_EXTERNAL_STORAGE,
        Manifest.permission.RECORD_AUDIO
    )
}